import tui from '../../../common/httpRequest'
Page({
  data: {
    leftDrawer: false,
    rightDrawer: false
  },
  closeDrawer(e) {
    this.setData({
      leftDrawer: false,
      rightDrawer: false
    })
  },
  rDrawer() {
    this.setData({
      rightDrawer: true
    })
  },
  lDrawer() {
    this.setData({
      leftDrawer: true
    })
  },
  productList() {
    tui.href("/pages/template/mall/productList/productList")
  }
})